﻿using System;
using System.Drawing;

namespace Overload
{
    public sealed class InvalidLocationException : Exception
    {
        private readonly Point worldCoordinates;

        public InvalidLocationException(Point worldCoordinates)
        {
            this.worldCoordinates = worldCoordinates;
        }

        public Point WorldCoordinates
        {
            get { return worldCoordinates; }
        }
    }
}